
#pragma once

#include <sys/sys_thread.h>

class calendar_query_thread : public xy::thread_base
{
public:
	calendar_query_thread();
	~calendar_query_thread();
public:
	bool init();
	bool start()
	{
		aot_log_debug(AOT_LM_DEBUG, "calendar_query_thread start()");
		active();
		return true;
	}
	bool stop()
	{
		aot_log_debug(AOT_LM_DEBUG, "calendar_query_thread stop()");
		shut_down();
		wait();
		return true;
	}

protected:
	int svc();


};
